Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration profiles #782

Draft
wants to merge 41 commits into
base: dev
Choose a base branch
from
Draft

Configuration profiles #782

wants to merge 41 commits into from

Conversation

Jon-b-m
Copy link
Member

@Jon-b-m Jon-b-m commented Jul 26, 2024

Configuration Profile switcher and new Onboarding Views.

NEW FEATURES:

  1. Choose, save, delete and backup (upload) all of your settings. These settings are saved as configuration profiles and includes almost every setting (including CoreData presets) except Pump/CGM connection. The Default configuration is "default", which can't be deleted (but can be edited as all of the other profiles).
    A new section has been added to settings View. Every section of settings below the profile section is included in the configuration profile.

  2. Restore old settings when switching to new phone or to new Bundle ID (app), including your CoreData presets . Just enter your old restore token when asked if you have something to import.

  3. New defaults for new iAPS users, which should make the transition to iAPS easier. Closed loop toggle is still off, this you have to actively turn on yourself (for your own safety). The new suggestions for defaults are not set in stone and can be revised before accepted into dev branch.

RESOLVED ISSUES:

  1. Fix a very old Type Error (since the first release of freeaps X), existing in all iAPS/freeaps x forks; preferences.resistance_lowers_target.

CAVE! This fix will reset some of your settings, the OpenAPS preferences, but luckily you can restore these OpenAPS settings with the new restore function. If you previously did a backup (sharing all enabled) you will be asked to restore your OpenAPS settings backup upon first run.

  1. Resolve an Xcode logging error warning (IDEPreferLogStreaming = "Yes")

MISCELLANEOUS:

  1. Sort all iAPS JSON defaults in order of string.count for a cleaner look and an easier overview of the defaults.

  2. Sort all iAPS Modules and Models alphabetically (Xcode setting)

KNOWN ISSUES REVEALED WHILE IN REVIEW:

  • Works well in glucose unit mmol/l, but when switching to a profile with other unit setting, like mg/dl, this settings is currently not transferred, so for now you can't switch unit settings with the configuration profiles...

Jon-b-m and others added 7 commits July 26, 2024 21:27
Make the tranistion to this new iAPS version more seamless and less "scary".
New Views for onboarding and import.
Move the code out from Settings module.
Update version number for the statistics and to make it easier to distinguish
@Jon-b-m Jon-b-m marked this pull request as draft August 8, 2024 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants